package com.bootdo.clouddo.utils.common;

public enum ErrorCode {

    INVALID_PARAMETERS(10000, "参数异常，请稍后重试"),
    DUPLICATE_SUBMISSION(10001, "请勿重复提交"),
    CONFIG_NOT_FOUND(10008, "不好，配置文件不见了"),

    NOT_VIP(10012, "开个会员查看吧"),
    SHARE_ALREADY_OPEN(10013, "您今天已经帮好友打助力过了哦"),
    DAY_LIMIT(10014, "已达到今日最大次数，请明天再来吧"),
    MOBILE_ALREADY_EXISTS(10015, "手机号已与其他微信号绑定"),
    CODE_ALREADY_EXISTS(10016, "代码已存在"),

    SENSITIVE_KEY(10016, "包含敏感词，请重新编辑后提交"),

    NOT_FOUND(10017, "数据可能已被删除，请稍后重试"),

    ALREADY_AGAINST(10018, "已经点踩过哦"),
    ALREADY_AGREE(10019, "已经点赞过哦"),

    ERR_STATE(10020, "当前信息状态可能已被修改哦"),
    TIMES_NOT_ENOUGH(10021, "当前次数不够了哦"),
    ALREADY_EXISTS(10022, "数据已存在，请勿重复录入"),

    YOUZAN_TID_NOT_EXISTS(10023, "订单号不存在，请检查后重试"),
    YOUZAN_TID_ALREADY_USED(10024, "订单号已被使用"),
    ALREADY_ACTIVITED(10025, "账号已经激活过哦"),
    YOUZAN_MOBILE_NOT_FOUND(10026, "查询不到对应的订单，请稍后再试试看哦"),

    ;

    private Integer code;
    private String desc;

    private ErrorCode(Integer code, String desc){
        this.code = code;
        this.desc=desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }

}
